package com.bootdo.appsystem.service;

import com.bootdo.appsystem.domain.MessageDO;
import com.bootdo.appsystem.domain.OrderproductDO;
import com.bootdo.appsystem.domain.SellerDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author xiaoxiao
 * @email 806191255@qq.com
 * @date 2018-05-12 14:42:14
 */
public interface MessageService {
	
	MessageDO get(Integer msgid);
	
	List<MessageDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MessageDO message);
	
	int update(MessageDO message);
	
	int remove(Integer msgid);
	
	int batchRemove(Integer[] msgids);

	void faGoodsOrderSellerMessage(OrderproductDO orderproductDO , SellerDO sellerDO);
}
